const states = {
    // global
    sidebar: state => state.app.sidebar,
    isFullScreen: state => state.app.isFullScreen,
    isCollapse: state => state.app.sidebar.opened,
    theme: state => state.app.theme,
    // user
    roles: state => state.user.roles,
    token: state => state.user.token,
    userInfo: state => state.user.userInfo,
    permission_routes: state => state.permission_router_server.routes,

}
export default states
